package sopt.dev.view;

import android.annotation.SuppressLint;
import android.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

@SuppressLint("ValidFragment")
public class FragmentInstance extends Fragment{

	public FragmentInstance() {
		FragmentController.getInstance().addFragment(this);
	}
	
	public int getIndex() {
		return FragmentController.getInstance().getFragmentIndex(this);
	}
	
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		return super.onCreateView(inflater, container, savedInstanceState);
	}
	
}
